Information reminding method and apparatus, and electronic terminal

ABSTRACT

Systems, methods, and software can be used to provide reminding information. In some aspect, a special event is determined to occur. In response to determining that the special event occurs, a network type currently used by a device is acquired. Historical network usage information corresponding to the network type is determined. The network type and a traffic usage situation is outputted based on the historical usage information.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.16/774,352, filed on Jan. 28, 2020, now U.S. Pat. No. 11,146,691, whichis a continuation of U.S. patent application Ser. No. 16/171,268, filedon Oct. 25, 2018, now U.S. Pat. No. 10,587,761. The U.S. Patentapplication Ser. No. 16/171,268 is a Divisional Application of U.S.patent application Ser. No. 15/126,524, filed on Sep. 15, 2016. The U.S.patent application Ser. No. 15/126,524 is a National Stage ofInternational Application No. PCT/CN2014/075659, filed on Apr. 18, 2014.All of the aforementioned patent applications are hereby incorporated byreference in their entireties.

TECHNICAL FIELD

The present invention relates to the field of Internet technologies, andin particular, to an information reminding method and apparatus, and anelectronic terminal.

BACKGROUND

Currently, manners in which a mobile terminal accesses the Internet aregenerally classified into a cellular network manner and a WLAN manner,and there is an obvious difference between different access manners interms of fees. Generally, no payment is required when the WLAN manner isadopted to access the Internet; however, payment is required when thecellular network manner is adopted, and fees significantly increaseafter traffic consumption of a user exceeds preset package traffic ofthe user or in a case of international roaming.

In an actual using process, in a process of operating an applicationprogram, a case of using excessive traffic in a fee-charging networkusually occurs because a user forgets which Internet access manner isbeing used by the current application program.

SUMMARY

Embodiments of the present invention provide an information remindingmethod and apparatus, and an electronic terminal, which can notify auser of a current network type and historical traffic data so as toremind the user of consumption of network traffic.

To achieve the foregoing objective, the following technical solutionsare adopted in the embodiments of the present invention.

According to a first aspect, an embodiment of the present inventionprovides an information reminding method, including: when it ismonitored that a special event occurs, acquiring a network typecurrently used by a device; determining, according to the acquirednetwork type, network historical usage information corresponding to thenetwork type; and reminding a user according to the network historicalusage information, so as to notify the user of the currently usednetwork type and a traffic usage situation.

With reference to the first aspect, in a first possible implementationmanner, the special event includes one or more of a to-be-monitored useroperation, a handover of the current network type of the device,enabling of a to-be-monitored application program, and a case in whichnetwork traffic used by a to-be-monitored application program exceeds athreshold.

With reference to the first possible implementation manner of the firstaspect, in a second possible implementation manner, the method furtherincludes: presenting to the user all application programs installed on asystem, and setting a to-be-monitored application program according toselection of the user; or receiving a list of to-be-monitoredapplication programs that is pushed by a server, and setting ato-be-monitored application program according to an application programin the list of to-be-monitored application programs; or receiving a listof to-be-monitored application programs that is sent by a server inresponse to a query request of the user equipment, and setting ato-be-monitored application program according to an application programin the list of to-be-monitored application programs, where the queryrequest of the user equipment can be used to represent an applicationprogram installed on the user equipment; or presenting to the user auser operation that can be identified by a system, and setting ato-be-monitored user operation according to selection of the user.

With reference to the first aspect or either of the first two possibleimplementation manners of the first aspect, in a third possibleimplementation manner, before the determining, according to the acquirednetwork type, network historical usage information corresponding to thenetwork type, the method further includes: determining whether thenetwork type currently used by the device is a to-be-monitored networktype, where the to-be-monitored network type includes at least apayment-required type; and the determining, according to the acquirednetwork type, network historical usage information corresponding to thenetwork type includes: when the network type currently used by thedevice is the to-be-monitored network type, determining, according tothe acquired network type, the network historical usage informationcorresponding to the network type.

With reference to the first aspect or either of the first two possibleimplementation manners of the first aspect, in a fourth possibleimplementation manner, the reminding a user includes: presenting thecurrently used network type and the traffic usage situation to the userin one or a combination of multiple manners of four presentation mannersof a text, a picture, an animation, and audio, and stopping thepresentation after a preset time elapses.

According to a second aspect, an embodiment of the present inventionprovides an information reminding apparatus, including: an eventmonitoring module, configured to monitor whether a special eventcurrently occurs on a device; a network monitoring module, configuredto: when it is monitored that a special event occurs, acquire a networktype currently used by the device; and determine, according to theacquired network type, network historical usage informationcorresponding to the network type; and an input and output module,configured to remind a user according to the network historical usageinformation, so as to notify the user of the currently used network typeand a traffic usage situation.

With reference to the second aspect, in a first possible implementationmanner, the special event includes one or more of a to-be-monitored useroperation, a handover of the current network type of the device,enabling of a to-be-monitored application program, and a case in whichnetwork traffic used by a to-be-monitored application program exceeds athreshold.

With reference to the first possible implementation manner of the secondaspect, in a second possible implementation manner, the input and outputmodule is further configured to present to the user all applicationsprograms installed on a system; or configured to receive a list ofto-be-monitored application programs that is pushed by a server; orconfigured to receive a list of to-be-monitored application programsthat is sent by a server in response to a query request of the userequipment, where the query request of the user equipment can be used torepresent an application program installed on the user equipment; orconfigured to present to the user a user operation that can beidentified by a system; and the event monitoring module is furtherconfigured to set a to-be-monitored application program according toselection of the user; or configured to set a to-be-monitoredapplication program according to an application program in the list ofto-be-monitored application programs; or configured to set ato-be-monitored user operation according to selection of the user.

With reference to the second aspect or either of the first two possibleimplementation manners of the second aspect, in a third possibleimplementation manner, the network monitoring module is furtherconfigured to: determine whether the network type currently used by thedevice is a to-be-monitored network type, where the to-be-monitorednetwork type includes at least a payment-required type; and when thenetwork type currently used by the device is the to-be-monitored networktype, determine, according to the acquired network type, the networkhistorical usage information corresponding to the network type.

With reference to the second aspect or either of the first two possibleimplementation manners of the second aspect, in a fourth possibleimplementation manner, the input and output module is specificallyconfigured to: present the currently used network type and the trafficusage situation to the user in one or a combination of multiple mannersof four presentation manners of a text, a picture, an animation, andaudio, and stop the presentation after a preset time elapses.

According to a third aspect, an embodiment of the present inventionfurther provides an electronic terminal, including a processor, amemory, and an input and output module, where the memory stores at leasta computer program, and the processor is configured to invoke theprogram stored in the memory, so as to control the input and outputmodule, and the processor, the memory, and the input and output modulecommunicate with each other by using a bus; where the processor isconfigured to determine whether a network type currently used by adevice is a to-be-monitored network type; the memory is configured tostore network historical usage information and current networkinformation; and the input and output module is further configured toremind a user according to the network historical usage information, soas to notify the user of the currently used network type and a trafficusage situation.

With reference to the third aspect, in a first possible implementationmanner of the third aspect, the special event includes one or more of ato-be-monitored user operation, a handover of the current network typeof the device, enabling of a to-be-monitored application program, and acase in which network traffic used by a to-be-monitored applicationprogram exceeds a threshold.

With reference to the first possible implementation manner of the thirdaspect, in a second possible implementation manner of the third aspect,the input and output module is further configured to present to the userall application programs installed on a system; or configured to receivea list of to-be-monitored application programs that is pushed by aserver; or configured to present to the user a user operation that canbe identified by a system; and the processor is further configured toset a to-be-monitored application program according to selection of theuser; or configured to set a to-be-monitored application programaccording to an application program in the list of to-be-monitoredapplication programs; or configured to receive a list of to-be-monitoredapplication programs that is sent by the server in response to a queryrequest of the user equipment, where the query request of the userequipment can be used to represent an application program installed onthe user equipment; or configured to set a to-be-monitored useroperation according to selection of the user.

With reference to the third aspect or either of the first two possibleimplementation manners of the third aspect, in a third possibleimplementation manner of the third aspect, the processor is furtherconfigured to: determine whether the network type currently used by thedevice is a to-be-monitored network type, where the to-be-monitorednetwork type includes at least a payment-required type; and when thenetwork type currently used by the device is the to-be-monitored networktype, determine, according to the acquired network type, the networkhistorical usage information corresponding to the network type.

With reference to the third aspect or either of the first two possibleimplementation manners of the third aspect, in a fourth possibleimplementation manner of the third aspect, the input and output moduleis specifically configured to: present the currently used network typeand the traffic usage situation to the user in one or a combination ofmultiple manners of four presentation manners of a text, a picture, ananimation, and audio, and stop the presentation after a preset timeelapses.

According to the information reminding method and apparatus and theelectronic terminal provided in the embodiments of the presentinvention, a network type used by a user can be automatically monitored,and the user can be reminded, according to an actual situation, ofnetwork information and traffic information concerned by the user. Inthis case, it can be avoided that the user uses excessive traffic in anetwork in which traffic is charged, so that a benefit of the user isensured.

BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of the presentinvention, the following briefly introduces the accompanying drawingsrequired for describing the embodiments. Apparently, the accompanyingdrawings in the following description show merely some embodiments ofthe present invention, and a person of ordinary skill in the art maystill derive other drawings from these accompanying drawings withoutcreative efforts.

FIG. 1 is a flowchart of an information reminding method according to anembodiment of the present invention;

FIG. 2 is a flowchart of a method for determining a network type used bya user according to an embodiment of the present invention;

FIG. 3 is a flowchart of a method for reminding a user of informationaccording to an embodiment of the present invention;

FIG. 4 is a schematic diagram of a scenario of a content display manneraccording to an embodiment of the present invention;

FIG. 5 is a schematic diagram of a scenario of a presentation effect ofa user operation according to an embodiment of the present invention;

FIG. 6 is a flowchart of an overall information reminding methodaccording to an embodiment of the present invention;

FIG. 7 is a block diagram of composition of an information remindingapparatus according to an embodiment of the present invention; and

FIG. 8 is a block diagram of composition of an electronic terminal usedfor information reminding according to an embodiment of the presentinvention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

The following clearly describes the technical solutions in theembodiments of the present invention with reference to the accompanyingdrawings in the embodiments of the present invention. Apparently, thedescribed embodiments are merely some but not all of the embodiments ofthe present invention. All other embodiments obtained by a person ofordinary skill in the art based on the embodiments of the presentinvention without creative efforts shall fall within the protectionscope of the present invention.

The technical solutions provided in the present invention may be appliedto an application scenario in which a client device accesses theInternet by using different Internet access manners. In this applicationscenario, the user equipment generally includes a handheld terminal, atablet computer, a wearable device, a household computer, a multimediadevice that can be connected to the Internet, and the like, and theInternet access manners include a cellular network manner, a WLANmanner, and the like.

Based on the solutions, the present invention provides the followingembodiments to resolve a technical problem of how to remind a user ofnetwork usage information.

An embodiment of the present invention provides an information remindingmethod. As shown in FIG. 1 , the method includes the following steps:

101. When it is monitored that a special event occurs, acquire a networktype currently used by a device.

The special event is an event that triggers the terminal to acquire thecurrent network type of the terminal, which may include one or more of ato-be-monitored user operation, a handover of the current network typeof the device, enabling of a to-be-monitored application program, and acase in which network traffic used by a to-be-monitored applicationprogram exceeds a threshold.

The to-be-monitored user operation refers to a user operationinstruction for the device, for example, an operation of touching aphysical key to wake up a terminal, or an operation of tapping a virtualicon on a touchscreen to unlock.

The handover of the current network type of the device refers to ahandover of the user equipment from one to another network type, such asa cellular network or a WLAN, that can be used by the device, forexample, a handover from the cellular network to the WLAN or a handoverfrom the WLAN back to the cellular network. Identification of a handoverof the network type may be specifically implemented by determiningwhether different communications modules have traffic data to send andreceive, and this embodiment of the present invention does not set afurther limitation thereto.

The enabling of the to-be-monitored application program means that theapplication program automatically runs or is triggered to run by theuser by tapping an icon.

The case in which the network traffic used by the to-be-monitoredapplication program exceeds the threshold means that after theapplication program is enabled and is connected to the Internet, datareceived from a network side and data sent to the network side exceed aspecific threshold. The threshold herein is set to range from multipleKBs to tens of MBs, and the threshold is specifically set according to arequirement.

The foregoing mentioned network type generally refers to a network typesuch as a WLAN or a cellular network. After using networks of thesetypes, the user equipment may communicate with the Internet to acquirenetwork information.

In addition, in this embodiment of the present invention, the specialevent may be set, and a specific setting method is subsequentlydescribed in detail.

The foregoing network type generally refers to a network, such as acellular network or a WLAN, that the user equipment can access whenbeing connected to the Internet.

102. Determine, according to the acquired network type, historical usageinformation corresponding to the network type.

The network historical usage information includes traffic, usageduration, a type of transmitted content, which may specifically includetraffic and duration used within a charging period, a traffic limitationof a traffic package, a type and a size of a transmitted file, and thelike. When traffic transmission is being performed between the deviceand the network side, the foregoing various types of parameterscorresponding to different network types are stored as historical usageinformation. In the technical solution of the present invention, thesenetwork historical usage information and the corresponding network typesare stored together in a memory of the device, and when a network typeused by a current device is acquired by means of identification, thecorresponding network historical usage information may be directlyextracted from the memory.

103. Remind a user according to the network historical usageinformation, so as to notify the user of the currently used network typeand a traffic usage situation.

For an implementation manner of performing reminding, a detaileddescription is subsequently provided in the technical solution of thepresent invention.

In this solution, after the foregoing steps are executed, a network typeused by a user can be automatically monitored, and the user can bereminded, according to an actual situation, of network information andtraffic information concerned by the user. In this case, it can beavoided that the user uses excessive traffic in a network in whichtraffic is charged, so that a benefit of the user is ensured.

Further, this embodiment of the present invention further provides thefollowing technical solution, so as to determine the network type usedby the user. As shown in FIG. 2 , executed before step 102, thetechnical solution includes the following steps:

201. Determine whether the network type currently used by the device isa to-be-monitored network type, and if the network type is ato-be-monitored network type, execute step 102, or if the network typeis not a to-be-monitored network type, execute step 202.

The to-be-monitored network type includes at least a payment-requirednetwork type such as a cellular network. Specifically, a network typethat needs to be monitored may be set by the user.

102. Determine, according to the acquired network type, the networkhistorical usage information corresponding to the network type.

202. Properly respond to a user operation, but skip an operation such astraffic reminding.

In this solution, after the foregoing steps are executed, after aspecial event is triggered on a client, monitoring and determining of anetwork type can be directly performed. For different network types,charging manners are different; a user needs to be reminded in somecharging manners, and the user does not need to be reminded in othercharging manners. Reminding information needed by the user is promptlyprovided, so that favorable experience can be provided for the user.

Further, in order to remind the user, for step 103, this embodiment ofthe present invention further provides the following specificimplementation manner. As shown in FIG. 3 , the implementation mannerincludes the following steps:

301. Present the currently used network type and the traffic usagesituation to the user in one or a combination of multiple manners offour presentation manners of a text, a picture, an animation, and audio.

For specific displayed content and a specific display manner, referencemay be made to a schematic diagram shown in FIG. 4 . The diagram is areminding effect diagram. In the diagram, reminding information isdisplayed in a form of a floating window, and the reminding information“a cellular network is enabled, and 30 M are left this month” isspecifically provided. In addition, a setting key is further provided atthe lower right corner of a reminding box, so that the user can setduration for displaying the reminding box or on/off and handover of thenetwork type. Further optionally, when the floating box is beingpresented, vibration or a special sound effect of the device may also beenabled to remind the user to read the reminding information in thefloating box.

302. Stop the presentation after a preset time elapses.

The preset time is set by the user or preset by a system.

In this solution, after the foregoing steps are executed, a remindingfunction may be completed in a short time, and a case does not occur inwhich a user's proper use of an application program is interferedbecause of long-time reminding.

For setting of the special event, the present invention specificallyprovides the following four specific implementation manners.

In the first implementation manner, a user operation that can beidentified by the system is presented to the user, and a to-be-monitoreduser operation is set according to selection of the user. Specifically,a possible presentation effect of the user operation is shown in FIG. 5.

The user operation that can be set and is shown in the figure includesfunctions such as an add action, a delete action, an action orderadjustment. If an action of the foregoing actions is selected, theaction may be moved up or down to adjust a location or may be deleted.

In the second implementation manner, a list of to-be-monitoredapplication programs that is pushed by a server is received, and ato-be-monitored application program is set according to an applicationprogram in the list of to-be-monitored application programs.Specifically, a possible method for displaying the list is shown inTable 1 below.

TABLE 1 Display example of an application list Application program Nameof an installation identifier Version package WeChat 5.0 . . . Microblog3.0 . . . 1000230 2.0 . . .

A list structure shown in the table includes an application programidentifier, a version number, and a name of an installation package, andanother related parameter may also be displayed in this list. Theapplication program identifier is an attribute for identifyinguniqueness of an application program, and may be a name, an ID allocatedby the system, a name of an installation package, or the like, and is amandatory item, and the version number and the like are optional items.

In the third implementation manner, a list of to-be-monitoredapplication programs that is sent by a server in response to a queryrequest of the user equipment is received, and a to-be-monitoredapplication program is set according to an application program in thelist of to-be-monitored application programs, where the query request ofthe user equipment can be used to represent an application programinstalled on the user equipment.

It should be noted that the second implementation manner and the thirdimplementation manner are relatively similar, and for a display mannerof the list of application programs, reference may be made to thecontent shown in Table 1 above. A difference between the two manners intechnical implementation lies in that the server actively performstriggering and the user requests triggering. In a mechanism in which theserver actively performs triggering, the server sends, in a form of alist, all summarized application programs that need to be monitored tothe user equipment, so that the user equipment selects a to-be-monitoredapplication program by itself. However, in a mechanism in which the userrequests triggering, generally, the user sends, in a form of a list, theapplication program installed on the device to the server, then theserver determines whether the installed application program needs to bemonitored, and finally, the server feeds back, in a form of a list, ato-be-monitored application program corresponding to the device to theuser equipment, so that the user equipment selects a to-be-monitoredapplication program by itself.

In the fourth implementation manner, all application programs installedon the system are presented to the user, and a to-be-monitoredapplication program is set according to selection of the user. For adisplay method of the application program, reference may be made to thecontent shown in Table 1 above.

An application program identifier, a version number, a monitoringoption, and the like are included. The application program identifier isan attribute for identifying uniqueness of an application program, maybe a name, an ID allocated by the system, a name of an installationpackage, or the like, and is a mandatory item. The version number andthe like are optional items, and the monitoring option is used by theuser to select an application program that needs to be monitored.

With reference to the foregoing all technical solutions, an embodimentof the present invention further provides a schematic diagram of anoverall information reminding procedure. As shown in FIG. 6 , theprocedure includes the following steps:

400. Start a processing procedure.

401. When it is monitored that a special event occurs, acquire a networktype currently used by a device.

402. Determine whether the network type currently used by the device isa to-be-monitored network type, and if the network type is ato-be-monitored network type, execute step 403, or if the network typeis not a to-be-monitored network type, properly respond to a useroperation, but skip an operation such as traffic reminding.

403. Determine, according to the acquired network type, networkhistorical usage information corresponding to the network type.

404. Present the currently used network type and a traffic usagesituation to a user in one or a combination of multiple manners of fourpresentation manners of a text, a picture, an animation, and audio.

405. Stop the presentation after a preset time elapses.

406. End the processing procedure.

An embodiment of the present invention provides an information remindingapparatus. As shown in FIG. 7 , the apparatus includes:

an event monitoring module 51, configured to monitor whether a specialevent currently occurs on a device;

a network monitoring module 52, configured to: when it is monitored thata special event occurs, acquire a network type currently used by thedevice; and determine, according to the acquired network type, networkhistorical usage information corresponding to the network type; and

an input and output module 53, configured to remind a user according tothe network historical usage information, so as to notify the user ofthe currently used network type and a traffic usage situation.

Optionally, the special event includes one or more of a to-be-monitoreduser operation, a handover of the current network type of the device,enabling of a to-be-monitored application program, and a case in whichnetwork traffic used by a to-be-monitored application program exceeds athreshold.

Optionally, the network monitoring module 52 is further configured to:determine whether the network type currently used by the device is ato-be-monitored network type, where the to-be-monitored network typeincludes at least a payment-required type; and when the network typecurrently used by the device is the to-be-monitored network type,determine, according to the acquired network type, the networkhistorical usage information corresponding to the network type.

Optionally, the input and output module 53 is specifically configuredto: present the currently used network type and the traffic usagesituation to the user in one or a combination of multiple manners offour presentation manners of a text, a picture, an animation, and audio,and stop the presentation after a preset time elapses.

Optionally, the input and output module 53 is further configured topresent to the user all application programs installed on a system; orconfigured to receive a list of to-be-monitored application programsthat is pushed by a server; or configured to receive a list ofto-be-monitored application programs that is sent by a server inresponse to a query request of the user equipment, where the queryrequest of the user equipment can be used to represent an applicationprogram installed on the user equipment; or configured to present to theuser a user operation that can be identified by a system; and use aninput operation of the user.

The event monitoring module 51 is further configured to set ato-be-monitored application program according to selection of the user;or configured to set a to-be-monitored application program according toan application program in the list of to-be-monitored applicationprograms; or configured to set a to-be-monitored user operationaccording to selection of the user.

The information reminding apparatus provided in this embodiment of thepresent invention can automatically monitor a network type used by auser, and remind, according to an actual situation, the user of networkinformation and traffic information concerned by the user. In this case,it can be avoided that the user uses excessive traffic in a network inwhich traffic is charged, so that a benefit of the user is ensured.

An embodiment of the present invention further provides an electronicterminal used for information reminding. As shown in FIG. 8 , theelectronic terminal includes a processor 61, a memory 62, and an inputand output module 63, where the memory 62 is configured to store acomputer program, and the processor 61 is configured to invoke theprogram stored in the memory, so as to control the input and outputmodule 63, and all modules communicate with each other by using a bus,so as to implement method procedures shown in FIG. 1 to FIG. 7 . Detailsare as follows:

The processor 61 is configured to determine whether a network typecurrently used by a device is a to-be-monitored network type; the memory62 is configured to store network historical usage information andcurrent network information; and the input and output module 63 isconfigured to remind a user according to the network historical usageinformation, so as to notify the user of the currently used network typeand a traffic usage situation.

Optionally, the special event includes one or more of a to-be-monitoreduser operation, a handover of the current network type of the device,enabling of a to-be-monitored application program, and a case in whichnetwork traffic used by a to-be-monitored application program exceeds athreshold.

The processor 61 is further configured to: determine whether the networktype currently used by the device is a to-be-monitored network type,where the to-be-monitored network type includes at least apayment-required type; and when the network type currently used by thedevice is the to-be-monitored network type, determine, according to theacquired network type, the network historical usage informationcorresponding to the network type.

Optionally, the input and output module 63 is specifically configuredto: present the currently used network type and the traffic usagesituation to the user in one or a combination of multiple manners offour presentation manners of a text, a picture, an animation, and audio,and stop the presentation after a preset time elapses.

Optionally, the input and output module 63 is further configured topresent to the user all application programs installed on a system; orconfigured to receive a list of to-be-monitored application programsthat is pushed by a server; or configured to present to the user a useroperation that can be identified by a system.

The processor 61 is further configured to set a to-be-monitoredapplication program according to selection of the user; or configured toset a to-be-monitored application program according to an applicationprogram in the list of to-be-monitored application programs; orconfigured to receive a list of to-be-monitored application programsthat is sent by the server in response to a query request of the userequipment, where the query request of the user equipment can be used torepresent an application program installed on the user equipment; orconfigured to set a to-be-monitored user operation according toselection of the user.

The electronic terminal provided in this embodiment of the presentinvention can automatically monitor a network type used by a user, andremind, according to an actual situation, the user of networkinformation and traffic information concerned by the user. In this case,it can be avoided that the user uses excessive traffic in a network inwhich traffic is charged, so that a benefit of the user is ensured.

Based on the foregoing descriptions of the implementation manners, aperson skilled in the art may clearly understand that the presentinvention may be implemented by software in addition to necessaryuniversal hardware or by hardware only. In most circumstances, theformer is a preferred implementation manner. Based on such anunderstanding, the technical solutions of the present inventionessentially or the part contributing to the prior art may be implementedin a form of a software product. The computer software product is storedin a readable memory medium, such as a floppy disk, a hard disk or anoptical disc of a computer, and includes several instructions forinstructing a computer device (which may be a personal computer, aserver, a network device, or the like) to perform the methods describedin the embodiments of the present invention.

The foregoing descriptions are merely specific implementation manners ofthe present invention, but are not intended to limit the protectionscope of the present invention. Any variation or replacement readilyfigured out by a person skilled in the art within the technical scopedisclosed in the present invention shall fall within the protectionscope of the present invention. Therefore, the protection scope of thepresent invention shall be subject to the protection scope of theclaims.

The invention claimed is:
 1. A method comprising: detecting aconfiguration performed by a user on a mobile terminal, theconfiguration configuring an event that triggers notification of networktraffic usage by the mobile terminal, the event comprising unlocking themobile terminal; detecting a first user input for unlocking the mobileterminal; in response to success of unlocking the mobile terminal by thefirst user input, obtaining, based on the configuration by the user,network usage information stored in the mobile terminal, wherein thenetwork usage information comprises first network traffic usage datacorresponding to a first network and second network traffic usage datacorresponding to a second network, the first network traffic usage dataand the second network traffic usage data comprising data of traffictransmitted between the mobile terminal and the first network and oftraffic switched to be transmitted between the mobile terminal and thesecond network from between the mobile terminal and the first network;and displaying a network traffic usage notification according to thenetwork usage information.
 2. The method according to claim 1, whereinthe network usage information further comprises the first networktraffic usage data corresponding to the first network, a type of thefirst network, the second network traffic usage data corresponding tothe second network, and a type of the second network.
 3. The methodaccording to claim 2, wherein the first network is a wireless local areanetwork (WLAN), and the second network is a cellular network; or thesecond network is a wireless local area network (WLAN), and the firstnetwork is a cellular network.
 4. The method according to claim 1,wherein the method further comprises: receiving a setting operation,wherein the setting operation is configured to set a function ofdisplaying the network traffic usage notification in response to successof unlocking the mobile terminal.
 5. The method according to claim 1,wherein the network traffic usage notification is provided in a floatingwindow or a floating box.
 6. The method according to claim 5, whereinthe network usage information further comprises a setting key; andwherein the setting key is provided in the floating window or thefloating box.
 7. The method according to claim 1, wherein the methodfurther comprises: displaying a list of application programs installedon the mobile terminal; receiving a selection of the user; and managingone or more application programs in the list of the applicationprograms.
 8. The method according to claim 1, wherein displaying thenetwork traffic usage notification comprises: presenting a currentlyused network type and a traffic usage situation in at least one mannerof a text, a picture, an animation, or audio.
 9. The method according toclaim 1, wherein the method further comprises: stopping displaying thenetwork traffic usage notification.
 10. The method according to claim 1,wherein the method further comprises: stopping displaying the networktraffic usage notification after a preset time elapses.
 11. The methodaccording to claim 1, wherein the first user input for unlocking themobile terminal comprises an operation of touching a physical key towake up the mobile terminal, or an operation of tapping a virtual iconon a touchscreen to unlock the mobile terminal.
 12. The method accordingto claim 1, wherein the network traffic usage notification is displayedin response to network traffic used by a to-be-monitored applicationprogram exceeding a threshold.
 13. The method according to claim 1,further comprising: in response to the success of unlocking the mobileterminal by the first user input, determining whether a currently usednetwork of the mobile terminal is a predetermined type of network to bemonitored, and upon determining that the currently used network of themobile terminal is the predetermined type of network, obtaining thenetwork usage information stored in the mobile terminal, wherein thenetwork usage information comprises network traffic usage data of themobile terminal related to the currently used network.
 14. A mobileterminal, comprising: a screen; one or more processors; and memorystoring one or more programs and a first software application, whereinthe one or more programs are configured to be executed by the one ormore processors, the one or more programs including instructions for:detecting a configuration performed by a user on the mobile terminal,the configuration configuring an event that triggers notification ofnetwork traffic usage by the mobile terminal, the event comprisingunlocking the mobile terminal; detecting a first user input forunlocking the mobile terminal; in response to success of unlocking themobile terminal by the first user input, obtaining, based on theconfiguration by the user, network usage information stored in themobile terminal, wherein the network usage information comprises firstnetwork traffic usage data corresponding to a first network and secondnetwork traffic usage data corresponding to a second network, the firstnetwork traffic usage data and the second network traffic usage datacomprising data of traffic transmitted between the mobile terminal andthe first network and of traffic switched to be transmitted between themobile terminal and the second network from between the mobile terminaland the first network; and displaying a network traffic usagenotification according to the network usage information.
 15. The mobileterminal according to claim 14, wherein the network usage informationfurther comprises the first network traffic usage data corresponding tothe first network, a type of the first network, the second networktraffic usage data corresponding to the second network, and a type ofthe second network.
 16. The mobile terminal according to claim 14,wherein the first network is a wireless local area network (WLAN), andthe second network is a cellular network; or the second network is awireless local area network (WLAN), and the first network is a cellularnetwork.
 17. The mobile terminal according to claim 14, wherein thenetwork traffic usage notification is provided in a floating window or afloating box; wherein the network usage information further comprises asetting key; and wherein the setting key is provided in the floatingwindow or the floating box.
 18. The mobile terminal according to claim14, wherein the one or more programs further include instructions for:displaying a list of application programs installed on the mobileterminal; receiving a selection of the user; and managing one or moreapplication programs in the list of the application programs.
 19. Themobile terminal according to claim 14, wherein the one or more programsfurther include instructions for: presenting a currently used networktype and a traffic usage situation in at least one manner of a text, apicture, an animation, or audio; and stopping displaying the networktraffic usage notification after a preset time elapses.